package com.xingyun.info_manager.service.impl;

import com.xingyun.info_manager.dao.PatInfoWxDao;
import com.xingyun.info_manager.entity.PatInfoWx;
import com.xingyun.info_manager.service.IPatInfoWxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Classname PatInfoWxServiceImpl
 * @Description TODO
 * @Date 2020/6/4 11:32
 * @Created by You
 */
@Service("patInfoWxService")
public class PatInfoWxServiceImpl implements IPatInfoWxService {

    @Autowired
    private PatInfoWxDao patInfoWxDao;

    @Override
    public List<PatInfoWx> getInfoByPhone(String phone) {
        return patInfoWxDao.getInfoByPhone(phone);
    }
}
